* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.prototipo { max-width: 98%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1rem auto;}

/* BOTONES INICIO Y CONFIGURACION */
a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.boton {
  background-color: #2e005f;
  color: white;
  padding: 15px 30px;
  border-radius: 30px; 
  text-align: center;
  display: block;
  width: 80%;
  max-width: 300px; 
  margin: 15px auto; 
}

.giflogo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

.boton:hover {
 background-color: #4b0094; 
 text-decoration: none; 
}

/* === HEADER GENERAL === */
header {
  background-color: #673ab7;
  text-align: center;
  font-family: Verdana, sans-serif;
  margin: -20px -20px 20px -20px;
  padding: 10px 10px;
  box-sizing: border-box;
}

/* === LOGO === */
.imglogo {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 0.3px auto;
}

/* === NAVEGACIÓN === */
.navegacion ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* se acomoda en móvil */
  padding: 0;
  margin: 20px 0;
}

/* === BOTONES DE NAVEGACIÓN === */
.lista.nav {
  display: inline-block;
  text-decoration: none;
  background-color: #2e005f; /* violeta oscuro */
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 25px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Hover */
.lista.nav:hover {
  background-color: #8e57f2;
  transform: scale(1.05);
}

/* Botón activo */
.lista.nav.activo {
  background-color: #a76efc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .lista.nav {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .lista.nav {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

body {
  background-color: black;
  font-family: Verdana, sans-serif;
  color: white;
  margin: 0;
  padding: 20px;           
  padding-bottom: 80px;     /* deja espacio para el footer fijo */
  box-sizing: border-box;
}

/* FOOTER - LOGO ACCESIBILIDAD */
.logo.acc {
  position: fixed;        /* se queda fijo en la pantalla */
  bottom: 5px;           
  left: 50%;              
  transform: translateX(-50%); 
  text-align: center;     
  z-index: 1000;          /* asegura que esté encima de otros elementos */
}

.logo.acc img {
  height: 30%;
}

.footer-fijo {
  position: fixed;
  bottom: 5px;
  left: 0;
  width: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 10px; /* ajustá según tu diseño */
  z-index: 1000;
}

.footer-fijo img.logo.acc {
  height: 150%;         /* ocupa todo el alto del footer */
  max-height: 50px;     /* evita que sea demasiado grande */
  width: auto;          /* mantiene proporción */
}

/* PAGINA ACC WEB */
.caja {
  background-color: #2e0854;
  border: 2px solid #6a0dad;
  border-radius: 10px;
  padding: 15px;
  color: #d8bfff;
  width: fit-content;
  max-width: 90%;
  margin-top: 20px;
  margin-bottom: 5px;
}

h2 {
  margin-top: 0;
  font-weight: bold;
  font-size: 16px;
}

p.accwb {
  color: white;
  max-width: 400px;
  font-size: 14px;
}

li.accwb {
  margin-left: 20px;
  font-size: 14px;
}

.adaptar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

/* PAGINA ADAPTABILIDAD */
/* Cajas principales */
details {
    background-color: #2e005f;
    border-radius: 8px;
    padding: 10px 12px;
    color: white; /* Asegura que el texto dentro del 'details' sea blanco */
    font-family: Verdana, sans-serif;
}

/* Título de cada caja (lo que se toca) */
summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    list-style: none;
    position: relative;
    padding-right: 25px; /* espacio para la flecha */
}

/* Flechita personalizada */
summary::after {
  content: "▼";
  position: absolute;
  right: 5px;
  transition: transform 0.3s ease;
}

/* Rota la flecha cuando se abre */
details[open] summary::after {
  transform: rotate(180deg);
}

/* Contenido desplegado (el interior morado claro) */
.contenido {
    margin-top: 10px;
    background-color: #8e57f2;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Estilos adicionales para el contenido que has añadido */
.contenido h2 {
    color: #2e005f;
    margin-top: 10px;
    margin-bottom: 0px;
}

.contenido p {
    margin-bottom: 3px;
    margin-top: 5px;
}

.contenido ol {
    margin-top: 5px;
    padding-left: 20px;
}

/* === FORO COMUNITARIO === */
.foro {
  background-color: black;
  color: white;
  font-family: Verdana, sans-serif;
  margin-top: 20px;
  text-align: left;
}

/* Título principal */
.foro h2 {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* --- Formulario --- */
.foro-form {
  background-color: #2e005f;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.foro-form label {
  font-weight: bold;
  background-color: #8e57f2;
  padding: 6px 10px;
  border-radius: 5px;
}

.foro-form textarea {
  width: 100%;
  min-height: 80px;
  border: none;
  border-radius: 6px;
  padding: 8px;
  resize: vertical;
  font-family: Verdana, sans-serif;
  font-size: 0.9rem;
}

.foro-form button {
  align-self: flex-end;
  background-color: #8e57f2;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.foro-form button:hover {
  background-color: #a76efc;
}

/* --- Preguntas frecuentes --- */
.preguntas-frecuentes {
  background-color: #2e005f;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
}

.preguntas-frecuentes h3 {
  background-color: #8e57f2;
  margin: 0 0 6px 0;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 1rem;
}

.preguntas-frecuentes ul {
  padding-left: 20px;
  margin: 0;
}

.preguntas-frecuentes li {
  margin-bottom: 4px;
  margin-top: 8px;
}

/* --- Consultas publicadas --- */
.consulta {
  background-color: #000000;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 10px;
}

.consulta h4 {
  background-color: #8e57f2;
  margin: 0 0 5px 0;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.95rem;
}